package io.geekidea.springbootplus.system.param.sysmember;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.geekidea.springbootplus.framework.core.pagination.BasePageOrderParam;
import io.geekidea.springbootplus.framework.core.validator.groups.Update;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "SysMemberPageParam对象", description = "会员列表查询参数")
public class SysMemberPageParam extends BasePageOrderParam {

    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty("授权用户唯一标识")
    private String openid;

    @ApiModelProperty("会员昵称")
    private String nickName;

    @ApiModelProperty("电子邮箱")
    private String email;

    @ApiModelProperty("手机号码")
    private String phone;

    @ApiModelProperty("会员卡号")
    private String cardNumber;

    @ApiModelProperty("性别")
    private Integer gender;

    @ApiModelProperty("创建时间开始")
    private Date createTimeStart;

    @ApiModelProperty("创建时间结束")
    private Date createTimeEnd;

}
